/**
 iTextUploader
 (C) 2008 MyselftDev (myselftdev@gmail.com)
 
 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

/* Revision: $Id: UploadView.h 63 2009-02-07 16:28:48Z myselftdev $ */

#import <UIKit/UIKit.h>
#import <UIKit/UIButton.h>
#import <UIKit/UIFont.h>
#import <UIKit/UIWebView.h>
#import <UIKit/UILabel.h>

#import "Definitions.h"
#import "PreferencesData.h"
#import "MainView.h"
#import "AlertBox.h"
#import "ITUImport.h"

@interface UploadView : UIView <UIWebViewDelegate, UIActionSheetDelegate> {
	ITUImport		*import;
	
	//UIButton		*uploadButton;
	UIWebView		*webFrame;
	AlertBox		*workingView;
	
	MainView		*mainView;
	PreferencesData	*data;
}

- (id)initWithFrame:(CGRect)frame
		 dataObject:(PreferencesData*)theDataObject
	 mainViewObject:(MainView*)theMainViewObject;
- (void)uploadButtonClicked;
- (void)uploadDoneWithMessage: (NSDictionary*)message;
- (void)updateDisplayedDate;

- (void) actionsButtonClicked;

- (void)isGoingToVisible;
- (void)isGoingToHidden;
@end
